
package com.ttms.pojo;
import  java.math.BigDecimal;
 public class Play {

    private Integer play_id;

    private Integer play_type_id;
    private Integer play_lang_id;
    private Integer play_length;
    // playName
     //PlayName
    private String play_name;
    private String play_introduction;
    private BigDecimal play_ticket_price;
    private Integer play_sales = 0;
//    0：待安排演出\r\n            1：已安排演出\r\n            -1：下线
    private int play_status;
    private String play_image = "front-end/img/default.jpg";

    public Play() {

    }

     public Play(Integer play_id, Integer play_type_id, Integer play_lang_id, Integer play_length, String play_name, String play_introduction, BigDecimal play_ticket_price, Integer play_sales, int play_status, String play_image) {
         this.play_id = play_id;
         this.play_type_id = play_type_id;
         this.play_lang_id = play_lang_id;
         this.play_length = play_length;
         this.play_name = play_name;
         this.play_introduction = play_introduction;
         this.play_ticket_price = play_ticket_price;
         this.play_sales = play_sales;
         this.play_status = play_status;
         this.play_image = play_image;
     }

    public Integer getPlay_id() {
        return play_id;
    }

    public void setPlay_id(Integer play_id) {
        this.play_id = play_id;
    }

     public Integer getPlay_type_id() {
         return play_type_id;
     }

     public void setPlay_type_id(Integer play_type_id) {
         this.play_type_id = play_type_id;
     }

     public Integer getPlay_lang_id() {
         return play_lang_id;
     }

     public void setPlay_lang_id(Integer play_lang_id) {
         this.play_lang_id = play_lang_id;
     }

     public void setPlay_sales(Integer play_sales) {
        this.play_sales = play_sales;
    }

    public Integer getPlay_length() {
        return play_length;
    }

    public void setPlay_length(Integer play_length) {
        this.play_length = play_length;
    }

    public String getPlay_name() {
        return play_name;
    }

    public void setPlay_name(String play_name) {
        this.play_name = play_name;
    }

    public String getPlay_introduction() {
        return play_introduction;
    }

    public void setPlay_introduction(String play_introduction) {
        this.play_introduction = play_introduction;
    }

    public BigDecimal getPlay_ticket_price() {
        return play_ticket_price;
    }

    public void setPlay_ticket_price(BigDecimal play_ticket_price) {
        this.play_ticket_price = play_ticket_price;
    }

    public int getPlay_sales() {
        return play_sales;
    }

    public void setPlay_sales(int play_sales) {
        this.play_sales = play_sales;
    }

    public int getPlay_status() {
        return play_status;
    }

    public void setPlay_status(int play_status) {
        this.play_status = play_status;
    }

    public String getPlay_image() {
        return play_image;
    }

    public void setPlay_image(String play_image) {
        if (play_image != null && !"".equals(play_image)) {
            this.play_image = play_image;
        }

    }
}
